package com.hxzy.module.back.mapstruct;

import com.hxzy.module.back.api.backaccount.resp.BackAccountResp;
import com.hxzy.module.back.entity.BackAccount;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author wy
 * @Description TODO
 * @Date 2024/1/26 14:18
 * @Version 1.0
 */
@Mapper
public interface BackMapStruct {
    BackMapStruct INSTANCE= Mappers.getMapper(BackMapStruct.class);

    /**
     * 转换
     * @param entity
     * @return
     */
    BackAccountResp convert(BackAccount entity);
}
